class_name PlayerWallClimbState
extends GameplayState

@onready var player: Player = $"../../../"


func _on_enter() -> void:
    player.animator.play(&"wall_climb")

    player.player_tag_manager.add_tag(player.player_tag_manager.State_Wall_Climb)


func _on_update(_delta: float) -> void:
    player.velocity.y = -player.player_stats.wall_climb_speed


func _on_exit() -> void:
    player.player_tag_manager.remove_tag(player.player_tag_manager.State_Wall_Climb)
